<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{{$smarty.session.user.nickname}}的用户中心_{{$smarty.const.SITENAME}}</title>
<link href="/static/styles/global.css" rel="stylesheet" type="text/css" />
<link href="/static/css/base.css" rel="stylesheet" type="text/css">
<link href="/static/css/grid.css" rel="stylesheet" type="text/css">
<link href="/static/css/ab.css" rel="stylesheet" type="text/css">
</head>
<body>
{{include file='header.html}} 
<div class="ilayout">
<div class="imenubar">
{{include file='person_left.html'}}
</div>
<div class="icontent" id="pright">
<!--欢迎页面-->
{{include file=block/myblog_head.html}}
<!--欢迎页面-->
<!--邮件-->
<!--邮件-->
<!--编辑个人资料-->
<div class="memberlogs">

<div class="logs">
<table width="100%" cellpadding="0" cellspacing="0" class="table1">
	<tr bgcolor="#CCCCCC" class="tr2">
		<th align="center"><strong>ID</strong></th>
		<th align="center"><strong>标题</strong></th>
		<th align="center"><strong>操作</strong></th>
	</tr>
	{{section name=ol loop=$list}}
	<tr class="tr3">
		<td height="24">
	    {{$list[ol].id}}</td>
		<td height="24">{{$list[ol].name}}</td>
		<td height="24">
		<a href="/person/logcat/{{$list[ol].id}}"><img src="/static/images/application_edit.png" alt="修改" border="0" /></a>			
		<a href="?del={{$list[ol].id}}"><img src="/static/images/cross.png" alt="删除" border="0" onclick="return confirm('您确定要删除此内容？');" /></a>&nbsp;		</td>
	</tr>
	{{/section}}
	<tr class="tr3" >
	  <td height="24" colspan="3" align="center">{{$pager.render}}</td>
	</tr>
	<form method="post"  id="logs">
	<tr class="tr3" >
	  <td height="24" colspan="3" align="left">增加分类：
	    <label>
	    <input name="name" type="text" id="name" />
	    </label>	    <label>
	    <input type="submit" name="Submit" value="提交" onclick="if(document.getElementById('name').value==''){alert('分类名称不能问为空');return false;}" />
	    </label></td>
	  </tr>
	  </form>
</table>

{{foreach  item=m from=$id}} 
      <label>
       {{$m.title|truncate:50}}<a href="/person/logs/{{$m.id}}">修改</a><a href="/person/logmanage/?del={{$m.id}}">删除</a> <br/>
       </label>
      {{/foreach}}

</div>
</div>
<!--编辑个人资料-->
</div>
</div>
{{include file='footer.html}}
</body>
</html>
